package com.letv.core.bean;

import java.util.HashMap;

import com.letv.core.bean.LetvBaseBean;

public class RedirectData implements LetvBaseBean {

    private static final long serialVersionUID = 1L;

    /**
     * 检索
     */
    public static final int REDIRECT_TYPE_FILTER = 1;

    /**
     * 首页
     */
    public static final int REDIRECT_TYPE_HOMEPAGE = 2;

    /**
     * H5页面
     */
    public static final int REDIRECT_TYPE_H5 = 3;

    /**
     * 跳转频道id
     * */
    private String redirectCid;

    /**
     * 筛选条件键值对
     * redFieldTypeList 跳转字段类型
     * redFieldDetailList 跳转字段内容
     * */
    private HashMap<String, String> redField;

    /**
     * 跳转页面id
     * */
    private String redirectPageId;

    /**
     * 跳转类型 1 筛选 2 首页 3 h5
     * */
    private int redirectType;

    /**
     * 跳转类型为3时，生效：跳转url
     * */
    private String redirectUrl;

    /**
     * 1 视频 2 专题
     * */
    private String redirectVideoType;

    public String getRedirectCid() {
        return redirectCid;
    }

    public void setRedirectCid(String redirectCid) {
        this.redirectCid = redirectCid;
    }

    public HashMap<String, String> getRedField() {
        return redField;
    }

    public void setRedField(HashMap<String, String> redField) {
        this.redField = redField;
    }

    public String getRedirectPageId() {
        return redirectPageId;
    }

    public void setRedirectPageId(String redirectPageId) {
        this.redirectPageId = redirectPageId;
    }

    public int getRedirectType() {
        return redirectType;
    }

    public void setRedirectType(int redirectType) {
        this.redirectType = redirectType;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public String getRedirectVideoType() {
        return redirectVideoType;
    }

    public void setRedirectVideoType(String redirectVideoType) {
        this.redirectVideoType = redirectVideoType;
    }
}
